<script type="text/javascript">
    $(function() {
        $("#tabla").rowSelect({
            attachTo: '#postback', /*input to attach to the table.*/
            attrName: 'value', /*Name of the attribute on the tr to read values from */
            allowMulti: true /*allow selecting 1 or many..*/
        });
    });
</script>

<style type="text/css">
    .selected{background-color: #ED7E9F}
</style>

<div id="content">
    <div class="container">
        <div id="main" style="width:100%">
            <div class="entry single">
                <div class="entry-header">
                    <h2 class="title">Listado de productos</h2>
                    <p class="meta"><?php echo $this->session->flashdata('message');?></p>
                </div><!-- end .entry-header -->

                <div class="entry-content">
                    <div id="main-content">
                        <form name="form" action="" method="post">
                            <?php echo $tabla;?>
                            <a href="<?php echo site_url('producto/agregar')?>">
                                <div class="fbutton">
                                    <div>
                                        <span class="add" style="padding-left: 20px;">Agregar</span>
                                    </div>
                                </div>
                            </a>
                        </form>
                    </div>
                </div><!-- end .entry-content -->

                <div class="entry-footer">

                    <strong class="align-left">Contact Us: &nbsp;</strong>

                    <dl class="horizontal">
                        <dt>Web:</dt>
                        <dd>www.yourdomain.com <span class="separator">|</span></dd>
                        <dt>Email:</dt>
                        <dd>yourmail@yourdomain.com <span class="separator">|</span></dd>
                        <dt>Phone:</dt>
                        <dd>+88 44 777 99</dd>
                    </dl>

                </div><!-- end .entry-footer -->

            </div><!-- end .entry -->

        </div><!-- end #main -->

        <div class="clear"></div>

    </div><!-- end .container -->

</div><!-- end #content -->